import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Item {
    id: localMaterialListBack_ListWindow
    width: 1760
    height: 935

    property real fontSize: Cpp_Language.CurrentLanguage === 1 ? 30
                          : Cpp_Language.CurrentLanguage === 2 ? 15
                          : Cpp_Language.CurrentLanguage === 3 ? 15
                                                               : 30

    Component.onCompleted: {
        Cpp_PLC.write_into_PLC_16_Hold(48,"3")
    }

    A_NumberKeyboard{
        id: orderProcessKeyboard
        isDirectOverwrite: false
    }        

    // 当前页码
    property int currentPacket: Cpp_OrderProcess.packetNumber

    function  write_Current_Page_Parameter_Into_PLC(currentPacket)
    {
        if(Cpp_OrderProcess.LeftAngle_1 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1520,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1520,"1");
        }
        if(Cpp_OrderProcess.RightAngle_1 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1521,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1521,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1400,Cpp_OrderProcess.MaterialHeight_1);
        Cpp_PLC.write_into_PLC_32_Hold(1440,Cpp_OrderProcess.MaterialLength_1);
        Cpp_PLC.write_into_PLC_16_Hold(1480,Cpp_OrderProcess.CutCount_1);

        if(Cpp_OrderProcess.LeftAngle_2 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1522,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1522,"1");
        }
        if(Cpp_OrderProcess.RightAngle_2 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1523,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1523,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1402,Cpp_OrderProcess.MaterialHeight_2);
        Cpp_PLC.write_into_PLC_32_Hold(1442,Cpp_OrderProcess.MaterialLength_2);
        Cpp_PLC.write_into_PLC_16_Hold(1481,Cpp_OrderProcess.CutCount_2);

        if(Cpp_OrderProcess.LeftAngle_3 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1524,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1524,"1");
        }
        if(Cpp_OrderProcess.RightAngle_3 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1525,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1525,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1404,Cpp_OrderProcess.MaterialHeight_3);
        Cpp_PLC.write_into_PLC_32_Hold(1444,Cpp_OrderProcess.MaterialLength_3);
        Cpp_PLC.write_into_PLC_16_Hold(1482,Cpp_OrderProcess.CutCount_3);

        if(Cpp_OrderProcess.LeftAngle_4 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1526,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1526,"1");
        }
        if(Cpp_OrderProcess.RightAngle_4 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1527,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1527,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1406,Cpp_OrderProcess.MaterialHeight_4);
        Cpp_PLC.write_into_PLC_32_Hold(1446,Cpp_OrderProcess.MaterialLength_4);
        Cpp_PLC.write_into_PLC_16_Hold(1483,Cpp_OrderProcess.CutCount_4);

        if(Cpp_OrderProcess.LeftAngle_5 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1528,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1528,"1");
        }
        if(Cpp_OrderProcess.RightAngle_5 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1529,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1529,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1408,Cpp_OrderProcess.MaterialHeight_5);
        Cpp_PLC.write_into_PLC_32_Hold(1448,Cpp_OrderProcess.MaterialLength_5);
        Cpp_PLC.write_into_PLC_16_Hold(1484,Cpp_OrderProcess.CutCount_5);

        if(Cpp_OrderProcess.LeftAngle_6 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1530,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1530,"1");
        }
        if(Cpp_OrderProcess.RightAngle_6 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1531,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1531,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1410,Cpp_OrderProcess.MaterialHeight_6);
        Cpp_PLC.write_into_PLC_32_Hold(1450,Cpp_OrderProcess.MaterialLength_6);
        Cpp_PLC.write_into_PLC_16_Hold(1485,Cpp_OrderProcess.CutCount_6);

        if(Cpp_OrderProcess.LeftAngle_7 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1532,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1532,"1");
        }
        if(Cpp_OrderProcess.RightAngle_7 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1533,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1533,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1412,Cpp_OrderProcess.MaterialHeight_7);
        Cpp_PLC.write_into_PLC_32_Hold(1452,Cpp_OrderProcess.MaterialLength_7);
        Cpp_PLC.write_into_PLC_16_Hold(1486,Cpp_OrderProcess.CutCount_7);

        if(Cpp_OrderProcess.LeftAngle_8 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1534,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1534,"1");
        }
        if(Cpp_OrderProcess.RightAngle_8 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1535,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1535,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1414,Cpp_OrderProcess.MaterialHeight_8);
        Cpp_PLC.write_into_PLC_32_Hold(1454,Cpp_OrderProcess.MaterialLength_8);
        Cpp_PLC.write_into_PLC_16_Hold(1487,Cpp_OrderProcess.CutCount_8);

        if(Cpp_OrderProcess.LeftAngle_9 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1536,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1536,"1");
        }
        if(Cpp_OrderProcess.RightAngle_9 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1537,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1537,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1416,Cpp_OrderProcess.MaterialHeight_9);
        Cpp_PLC.write_into_PLC_32_Hold(1456,Cpp_OrderProcess.MaterialLength_9);
        Cpp_PLC.write_into_PLC_16_Hold(1488,Cpp_OrderProcess.CutCount_9);

        if(Cpp_OrderProcess.LeftAngle_10 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1538,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1538,"1");
        }
        if(Cpp_OrderProcess.RightAngle_10 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1539,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1539,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1418,Cpp_OrderProcess.MaterialHeight_10);
        Cpp_PLC.write_into_PLC_32_Hold(1458,Cpp_OrderProcess.MaterialLength_10);
        Cpp_PLC.write_into_PLC_16_Hold(1489,Cpp_OrderProcess.CutCount_10);

        if(Cpp_OrderProcess.LeftAngle_11 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1540,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1540,"1");
        }
        if(Cpp_OrderProcess.RightAngle_11 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1541,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1541,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1420,Cpp_OrderProcess.MaterialHeight_11);
        Cpp_PLC.write_into_PLC_32_Hold(1460,Cpp_OrderProcess.MaterialLength_11);
        Cpp_PLC.write_into_PLC_16_Hold(1490,Cpp_OrderProcess.CutCount_11);

        if(Cpp_OrderProcess.LeftAngle_12 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1542,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1542,"1");
        }
        if(Cpp_OrderProcess.RightAngle_12 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1543,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1543,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1422,Cpp_OrderProcess.MaterialHeight_12);
        Cpp_PLC.write_into_PLC_32_Hold(1462,Cpp_OrderProcess.MaterialLength_12);
        Cpp_PLC.write_into_PLC_16_Hold(1491,Cpp_OrderProcess.CutCount_12);

        if(Cpp_OrderProcess.LeftAngle_13 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1544,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1544,"1");
        }
        if(Cpp_OrderProcess.RightAngle_13 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1545,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1545,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1424,Cpp_OrderProcess.MaterialHeight_13);
        Cpp_PLC.write_into_PLC_32_Hold(1464,Cpp_OrderProcess.MaterialLength_13);
        Cpp_PLC.write_into_PLC_16_Hold(1492,Cpp_OrderProcess.CutCount_13);

        if(Cpp_OrderProcess.LeftAngle_14 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1546,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1546,"1");
        }
        if(Cpp_OrderProcess.RightAngle_14 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1547,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1547,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1426,Cpp_OrderProcess.MaterialHeight_14);
        Cpp_PLC.write_into_PLC_32_Hold(1466,Cpp_OrderProcess.MaterialLength_14);
        Cpp_PLC.write_into_PLC_16_Hold(1493,Cpp_OrderProcess.CutCount_14);

        if(Cpp_OrderProcess.LeftAngle_15 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1548,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1548,"1");
        }
        if(Cpp_OrderProcess.RightAngle_15 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1549,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1549,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1428,Cpp_OrderProcess.MaterialHeight_15);
        Cpp_PLC.write_into_PLC_32_Hold(1468,Cpp_OrderProcess.MaterialLength_15);
        Cpp_PLC.write_into_PLC_16_Hold(1494,Cpp_OrderProcess.CutCount_15);

        if(Cpp_OrderProcess.LeftAngle_16 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1550,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1550,"1");
        }
        if(Cpp_OrderProcess.RightAngle_16 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1551,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1551,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1430,Cpp_OrderProcess.MaterialHeight_16);
        Cpp_PLC.write_into_PLC_32_Hold(1470,Cpp_OrderProcess.MaterialLength_16);
        Cpp_PLC.write_into_PLC_16_Hold(1495,Cpp_OrderProcess.CutCount_16);

        if(Cpp_OrderProcess.LeftAngle_17 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1552,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1552,"1");
        }
        if(Cpp_OrderProcess.RightAngle_17 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1553,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1553,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1432,Cpp_OrderProcess.MaterialHeight_17);
        Cpp_PLC.write_into_PLC_32_Hold(1472,Cpp_OrderProcess.MaterialLength_17);
        Cpp_PLC.write_into_PLC_16_Hold(1496,Cpp_OrderProcess.CutCount_17);

        if(Cpp_OrderProcess.LeftAngle_18 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1554,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1554,"1");
        }
        if(Cpp_OrderProcess.RightAngle_18 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1555,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1555,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1434,Cpp_OrderProcess.MaterialHeight_18);
        Cpp_PLC.write_into_PLC_32_Hold(1474,Cpp_OrderProcess.MaterialLength_18);
        Cpp_PLC.write_into_PLC_16_Hold(1497,Cpp_OrderProcess.CutCount_18);

        if(Cpp_OrderProcess.LeftAngle_19 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1556,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1556,"1");
        }
        if(Cpp_OrderProcess.RightAngle_19 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1557,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1557,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1436,Cpp_OrderProcess.MaterialHeight_19);
        Cpp_PLC.write_into_PLC_32_Hold(1476,Cpp_OrderProcess.MaterialLength_19);
        Cpp_PLC.write_into_PLC_16_Hold(1498,Cpp_OrderProcess.CutCount_19);

        if(Cpp_OrderProcess.LeftAngle_20 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1558,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1558,"1");
        }
        if(Cpp_OrderProcess.RightAngle_20 === "45")
        {
            Cpp_PLC.write_into_PLC_16_Hold(1559,"0");
        }
        else
        {
            Cpp_PLC.write_into_PLC_16_Hold(1559,"1");
        }
        Cpp_PLC.write_into_PLC_32_Hold(1438,Cpp_OrderProcess.MaterialHeight_20);
        Cpp_PLC.write_into_PLC_32_Hold(1478,Cpp_OrderProcess.MaterialLength_20);
        Cpp_PLC.write_into_PLC_16_Hold(1499,Cpp_OrderProcess.CutCount_20);

    }


    Row {
        anchors.top: parent.top
        anchors.left: parent.left
        height: 50
        z:5

        // 12个标题项（宽度总和=1500，精确计算）
        TitleItem { title: qsTr("序号"); itemWidth: 150 }        // 1
        TitleItem { title: qsTr("左角度"); itemWidth: 200 }      // 2
        TitleItem { title: qsTr("右角度"); itemWidth: 200 }      // 3
        TitleItem { title: qsTr("料  高"); itemWidth: 200 }      // 4
        TitleItem { title: qsTr("切割长度"); itemWidth: 200 }     // 5
        TitleItem { title: qsTr("切割数量"); itemWidth: 250 }     // 6
        TitleItem { title: qsTr("已加工数量"); itemWidth: 300

            MouseArea{
                anchors.fill: parent
                onPressed: Cpp_PLC.write_into_PLC_Coils(142,true)
                onReleased: Cpp_PLC.write_into_PLC_Coils(142,false)
            }
        }   // 7
    }

    // 标题项组件（统一样式与布局）
    component TitleItem: Rectangle {
        property string title: ""       // 标题文本
        property real itemWidth: 100    // 单项宽度

        width: itemWidth
        height: parent.height  // 高度与容器一致（80）
        color: "#eeeeee"       // 标题项背景（略深于总背景）
        border.width: 0.5
        border.color: "#ddd"


        // 标题文字（自动适应宽度，防止溢出）
        Text {
            anchors.centerIn: parent
            text: title
            font.pixelSize: fontSize  // 适中字号，平衡显示与空间
            font.bold: true
            color: "#333"
            elide: Text.ElideRight  // 极端情况文字过长时省略尾部
            maximumLineCount: 1    // 强制单行显示
        }
    }

    Column{
        anchors.top: parent.top
        anchors.topMargin: 50

        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "1" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"1")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "1"
                }                
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_1
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_1
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_1.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+1),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+1),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_1
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_1
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_1.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+1),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+1),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_1
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_1
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+1),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_1
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_1
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+1),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_1
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_1
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+1),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_1
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_1
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1500,value)
                }
            }


        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1                
                color: Cpp_PLC.Current_Local_Order === "2" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"2")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "2"
                }                                
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_2
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_2
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_2.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+2),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+2),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_2
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_2
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_2.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+2),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+2),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_2
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_2
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+2),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_2
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_2
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+2),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_2
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_2
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+2),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_2
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_2
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1501,value)
                }
            }

        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "3" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"3")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "3"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_3
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_3
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_3.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+3),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+3),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_3
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_3
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_3.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+3),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+3),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_3
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_3
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+3),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_3
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_3
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+3),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_3
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_3
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+3),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_3
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_3
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1502,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "4" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"4")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "4"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_4
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_4
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_4.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+4),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+4),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_4
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_4
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_4.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+4),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+4),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_4
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_4
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+4),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_4
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_4
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+4),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_4
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_4
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+4),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_4
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_4
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1503,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "5" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"5")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "5"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_5
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_5
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_5.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+5),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+5),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_5
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_5
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_5.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+5),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+5),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_5
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_5
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+5),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_5
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_5
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+5),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_5
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_5
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+5),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_5
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_5
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1504,value)
                }
            }

        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "6" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"6")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "6"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_6
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_6
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_6.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+6),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+6),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_6
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_6
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_6.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+6),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+6),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_6
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_6
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+6),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_6
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_6
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+6),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_6
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_6
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+6),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_6
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_6
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1505,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "7" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"7")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "7"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_7
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_7
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_7.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+7),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+7),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_7
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_7
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_7.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+7),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+7),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_7
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_7
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+7),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_7
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_7
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+7),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_7
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_7
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+7),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_7
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_7
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1506,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "8" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"8")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "8"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_8
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_8
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_8.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+8),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+8),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_8
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_8
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_8.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+8),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+8),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_8
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_8
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+8),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_8
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_8
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+8),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_8
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_8
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+8),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_8
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_8
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1507,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "9" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"9")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "9"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_9
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_9
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_9.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+9),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+9),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_9
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_9
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_9.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+9),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+9),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_9
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_9
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+9),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_9
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_9
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+9),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_9
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_9
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+9),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_9
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_9
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1508,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "10" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"10")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }
                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "10"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_10
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_10
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_10.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+10),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+10),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_10
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_10
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_10.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+10),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+10),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_10
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_10
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+10),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_10
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_10
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+10),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_10
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_10
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+10),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_10
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_10
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1509,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "11" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"11")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "11"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_11
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_11
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_11.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+11),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+11),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_11
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_11
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_11.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+11),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+11),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_11
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_11
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+11),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_11
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_11
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+11),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_11
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_11
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+11),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_11
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_11
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1510,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "12" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"12")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "12"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_12
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_12
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_12.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+12),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+12),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_12
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_12
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_12.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+12),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+12),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_12
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_12
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+12),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_12
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_12
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+12),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_12
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_12
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+12),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_12
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_12
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1511,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "13" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"13")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }
                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "13"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_13
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_13
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_13.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+13),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+13),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_13
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_13
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_13.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+13),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+13),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_13
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_13
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+13),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_13
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_13
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+13),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_13
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_13
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+13),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_13
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_13
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1512,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "14" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"14")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "14"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_14
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_14
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_14.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+14),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+14),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_14
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_14
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_14.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+14),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+14),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_14
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_14
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+14),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_14
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_14
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+14),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_14
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_14
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+14),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_14
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_14
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1513,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "15" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"15")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "15"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_15
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_15
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_15.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+15),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+15),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_15
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_15
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_15.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+15),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+15),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_15
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_15
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+15),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_15
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_15
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+15),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_15
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_15
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+15),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_15
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_15
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1514,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "16" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"16")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "16"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_16
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_16
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_16.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+16),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+16),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_16
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_16
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_16.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+16),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+16),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_16
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_16
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+16),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_16
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_16
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+16),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_16
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_16
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+16),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_16
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_16
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1515,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "17" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"17")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "17"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_17
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_17
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_17.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+17),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+17),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_17
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_17
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_17.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+17),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+17),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_17
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_17
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+17),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_17
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_17
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+17),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_17
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_17
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+17),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_17
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_17
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1516,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "18" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"18")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "18"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_18
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_18
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_18.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+18),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+18),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_18
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_18
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_18.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+18),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+18),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_18
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_18
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+18),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_18
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_18
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+18),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_18
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_18
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+18),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_18
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_18
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1517,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "19" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"19")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "19"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_19
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_19
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_19.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+19),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+19),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_19
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_19
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_19.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+19),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+19),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            A_NumberInput{
                id: materialHeight_19
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_19
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+19),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_19
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_19
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+19),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_19
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_19
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+19),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_19
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_19
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1518,value)
                }
            }
        }
        Row{
            Rectangle{
                width: 150
                height: 44
                border.width: 1
                color: Cpp_PLC.Current_Local_Order === "20" ? "green" : "white"
                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        Cpp_PLC.write_into_PLC_16_Hold(76,"20")
                        if(Cpp_PLC.M_394)
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                        }
                        else
                        {
                            Cpp_PLC.write_into_PLC_Coils(140,true)
                            Cpp_PLC.write_into_PLC_Coils(141,true)
                            Cpp_PLC.write_into_PLC_Coils(140,false)
                            Cpp_PLC.write_into_PLC_Coils(141,false)
                        }
                    }
                }

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    text: "20"
                }
            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: leftAngle_20
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.LeftAngle_20
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(leftAngle_20.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+20),"LeftAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+20),"LeftAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }

            }
            Rectangle{
                width: 200
                height: 44
                border.width: 1

                Text{
                    id: rightAngle_20
                    anchors.centerIn: parent
                    font.pixelSize: 25
                    text: Cpp_OrderProcess.RightAngle_20
                    color: text === "45" ? "black" : "red"
                }

                MouseArea{
                    anchors.fill: parent

                    onClicked: {
                        if(rightAngle_20.text === "45")
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+20),"RightAngle","90")
                        }
                        else
                        {
                            Cpp_OrderProcess.saveData((currentPacket*20+20),"RightAngle","45")
                        }

                        Cpp_OrderProcess.getDataByPacket(currentPacket)
                    }
                }
            }
            A_NumberInput{
                id: materialHeight_20
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialHeight_20
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+20),"MaterialHeight",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: materialLength_20
                inputWidth: 200
                inputHeight: 44
                text: Cpp_OrderProcess.MaterialLength_20
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+20),"MaterialLength",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: cutCount_20
                inputWidth: 250
                inputHeight: 44
                text: Cpp_OrderProcess.CutCount_20
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_OrderProcess.saveData((currentPacket*20+20),"CutCount",value)
                    Cpp_OrderProcess.getDataByPacket(currentPacket)
                }
            }
            A_NumberInput{
                id: workedCount_20
                inputWidth: 300
                inputHeight: 44
                text: Cpp_PLC.Material_Worked_Count_20
                keyboard: orderProcessKeyboard

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_16_Hold(1519,value)
                }
            }


        }



    }


    A_ComboBox{
        anchors.right: parent.right
        anchors.rightMargin: 10
        anchors.top: parent.top
        anchors.topMargin: 40
        currentIndex: 0
        model: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]

        onComboBoxActivated: {
            currentPacket = currentIndex
            Cpp_OrderProcess.getDataByPacket(currentPacket)
        }
    }

    A_Button{
        anchors.right: parent.right
        anchors.rightMargin: 10
        anchors.top: parent.top
        anchors.topMargin: 330
        contentText_Data: qsTr("写入当前页数据")

        onButtonClicked: {
            write_Current_Page_Parameter_Into_PLC(currentPacket)
        }
    }



}
